/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.app.kernel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_density_bulk")
public class DensityBulkEntity
{
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("pid")
    private Integer pid;
    @TableField("bulk_size")
    private Integer bulkSize;
    @TableField("bulk_encoding")
    private byte[] bulkEncoding;
    @TableField("start_position")
    private Long startPosition;
    @TableField("max_density")
    private Long maxDensity;
    @TableField("min_density")
    private Long minDensity;
    @TableField("avg_density")
    private Double avgDensity;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getPid()
    {
        return pid;
    }

    public void setPid(Integer pid)
    {
        this.pid = pid;
    }

    public Integer getBulkSize()
    {
        return bulkSize;
    }

    public void setBulkSize(Integer bulkSize)
    {
        this.bulkSize = bulkSize;
    }

    public byte[] getBulkEncoding()
    {
        return bulkEncoding;
    }

    public void setBulkEncoding(byte[] bulkEncoding)
    {
        this.bulkEncoding = bulkEncoding;
    }

    public Long getStartPosition()
    {
        return startPosition;
    }

    public void setStartPosition(Long startPosition)
    {
        this.startPosition = startPosition;
    }

    public Long getMaxDensity()
    {
        return maxDensity;
    }

    public void setMaxDensity(Long maxDensity)
    {
        this.maxDensity = maxDensity;
    }

    public Long getMinDensity()
    {
        return minDensity;
    }

    public void setMinDensity(Long minDensity)
    {
        this.minDensity = minDensity;
    }

    public Double getAvgDensity()
    {
        return avgDensity;
    }

    public void setAvgDensity(Double avgDensity)
    {
        this.avgDensity = avgDensity;
    }
}
